package com.csun.cmny.provider.controller.admin;

import com.csun.cmny.provider.service.*;
import com.csun.cmny.util.wrapper.WrapMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.csun.cmny.util.wrapper.Wrapper;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author huangxm
 * @description:
 * @date 2019/3/15 11:03
 */
@RestController
@RequestMapping("/oldmanDevices")
public class DmcOldManDeviceController {

    @Autowired
    private DmcFollowDataBoxygenService dmcFollowDataBoxygenService;
    @Autowired
    private DmcFollowDataBpressureService dmcFollowDataBpressureService;
    @Autowired
    private DmcFollowDataBsugarService dmcFollowDataBsugarService;
    @Autowired
    private DmcFollowDataEcgService dmcFollowDataEcgService;
    @Autowired
    private DmcFollowDataHeartService dmcFollowDataHeartService;
    @Autowired
    private DmcFollowDataTemperatureService dmcFollowDataTemperatureService;
    @Autowired
    private DmcCsunButtonLocationService dmcCsunButtonLocationService;
    @Autowired
    private DmcCsunSleepBindService dmcCsunSleepBindService;
    @Autowired
    private DmcWatchDataService dmcWatchDataService;
    @Autowired
    private DmcCsunBodySensorLocationService dmcCsunBodySensorLocationService;

    @RequestMapping(value = "/getHistoryData",method = RequestMethod.POST)
    public Wrapper getHistoryData(@RequestParam("oldmanId")Integer oldmanId){



        return WrapMapper.ok(null);
    }
}
